import { BrowserHistory, createBrowserHistory } from 'history'


if (!(window as any).__MICRO_APP_HISTORY) {
  (window as any).__MICRO_APP_HISTORY = createBrowserHistory({ window })
}
const history:BrowserHistory = (window as any).__MICRO_APP_HISTORY
export default history